package com.dailyyoga.view;

import com.dailyyoga.view.TextPage.Page;

import android.content.Context;
import android.graphics.Canvas;
import android.view.View;

public class PageView extends View {

	Page mPage;

	public PageView(Context context, Page page) {
		super(context);
		mPage = page;

	}

	protected void onDraw(Canvas canvas) {
		mPage.draw(canvas);
		super.onDraw(canvas);
	}

}
